package org.molehill
{
	public class MoleHillUtils
	{
		public function MoleHillUtils()
		{
		}
		public static function getTextureWH(wh:int):int{
			if(wh<=64){
				return 64;
			}else if(wh<=128){
				return 128;
			}else if(wh<=256){
				return 256;
			}else if(wh<=512){
				return 512;
			}else if(wh<=1024){
				return 1024;
			}else{
				return 2048;
			}
		}
	}
}